<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>过渡效果</title>
        <style type="text/css">
            .tran {
                width: 500px ;
                height: 200px ;
                border : 1px solid blue ;
                margin: 50px auto ;
                /*transition-property: width , height , background-color ;*/
                /*transition-duration: 800ms ;*/
                /*transition-delay: 500ms ;*/
                /*transition-timing-function: linear ;*/
                /*transition: width 800ms 500ms linear , height  800ms 500ms linear , background-color 800ms 500ms linear ;*/
                transition: all 800ms 500ms linear ;
            }

            .tran:hover {
                width: 600px ;
                height: 300px ;
                background-color: #1e9fff;
            }
        </style>
    </head>
    <body>
        <div class="tran"></div>
    </body>
</html>